call C:\Ruby187\DevKit\devkitvars.bat

call gem install win32-open3 -v 0.3.2
IF ERRORLEVEL 1 GOTO FAILURE
call gem install cucumber -v 1.2.0
IF ERRORLEVEL 1 GOTO FAILURE
call gem install win32-process -v 0.6.5
IF ERRORLEVEL 1 GOTO FAILURE
call gem install mini_magick -v 3.5.0
IF ERRORLEVEL 1 GOTO FAILURE
call gem install nokogiri -v 1.5.7.rc3
IF ERRORLEVEL 1 GOTO FAILURE
call gem install watir-classic
IF ERRORLEVEL 1 GOTO FAILURE
call gem install watir
IF ERRORLEVEL 1 GOTO FAILURE
call gem install --version "= 0.8.4" prawn
IF ERRORLEVEL 1 GOTO FAILURE
call gem uninstall ffi -q -I
IF ERRORLEVEL 1 GOTO FAILURE
call gem install ffi -v 1.0.9
IF ERRORLEVEL 1 GOTO FAILURE
call gem install json -v 1.6.5
IF ERRORLEVEL 1 GOTO FAILURE
call gem install countdownlatch -v 1.0.0
IF ERRORLEVEL 1 GOTO FAILURE
call gem install uuid -v 2.3.7
IF ERRORLEVEL 1 GOTO FAILURE
exit /b 0
:FAILURE
exit /b 1


